const arr = [1,23,3,4,5,6,76,7];
const pageNow = 1;
const pageSize = 3;
const data = arr.slice((pageNow-1)*pageSize,((pageNow-1)*pageSize+pageSize));
console.log(data);